From: Gabriel Wicke Date: Sun, 29 Feb 2004 19:47:59 +0000 (+0000) Subject: missing addslashes broke edit toolbar on fr X-Git-Tag: 1.3.0beta1~897 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=38711c618ac93b6e58eadc36a680061009341ad4;p=lhc%2Fweb%2Fwiklou.git missing addslashes broke edit toolbar on fr --- diff --git a/includes/Skin.php b/includes/Skin.php index 0bd52f44a8..9e457845ad 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -2350,7 +2350,7 @@ class Skin { $toolbar.="addButton('$image','$tip','$open','$close','$sample');\n"; } - $toolbar.="addInfobox('".wfMsg("infobox")."');\n"; + $toolbar.="addInfobox('".addslashes(wfMsg("infobox"))."');\n"; $toolbar.="document.writeln(\"\");\n"; return $toolbar; }